{extend name="public/base"/}
{block name="style"}
<script type="text/javascript" src="/public/lboyue/m/sitejs/book.js?v=20181123"></script>
<script type="text/javascript">

    $(document).ready(function () {


        $('.moreIco').click(function () {

            if($(this).hasClass('closeIco')){

                $('#header').removeClass('app_headerFixed2');
                $(this).removeClass('closeIco');
                $('.app_header_second').hide();
                $('.app_meskSection').hide();

            }else{

                $('#header').addClass('app_headerFixed2');
                $(this).addClass('closeIco');
                $('.app_header_second').show();
                $('.app_meskSection').show();
            }



        })

        $('body').on('click','.app_meskSection',function () {
            $('.app_header_second').hide();
            $('.app_meskSection').hide();
            $('#header').removeClass('app_headerFixed2');
            $('.moreIco').removeClass('closeIco');
        })
    })

</script>
{/block}
{block name="body"}
<div class="app_goBackToTop"></div>
<div class="app_meskSection"></div>

<div class="container">

    <div class="app_header_section2  app_scrollerHeader" id="header">
        <div class="app_header_detail2">
            <div class="app_header_back"></div>
            <div class="app_header_h1">
                账户                <a href="/personal/bookcase"> <i class="shujiaIco"></i></a>
                <i class="moreIco"></i>
            </div>
        </div>
		{include file="public/dropnav" /}
		   </div>



    <div class="app_body">
        
    <div class="app_accountBlock">

        <div class="app_accountBlock_headerBg">
            <img src="/public/lboyue/m/images/headerBg.png"  class="background" />
            <div class="app_accountBlock_headerCon"><img src="{$avatar}" onerror="javascript:this.src='__PUBLIC__/novel/images/ser.png';"/></div>
            <div class="app_accountBlock_name">
                <span class="name">ID:{$uid}({$uid|get_nickname})</span>
            </div>

        </div>

        <div class="app_accountBlock_lis">
            <ul>
                <li class="ico1">
                    <a href="/pay/index">{:config('virtualname')}：<i>{$egold}</i>&nbsp;&nbsp;&nbsp;&nbsp;书币：<i>{$zb+$sign_score}</i><span class="btn" onclick="javascript:window.location.href='/pay/index'">充值</span></a>
                </li>
                <li class="ico4"><a href="/pay/index?type=365">VIP会员<i>{if $is_vip>0}{if $vip_enddate>=time()}还剩<font size="" color="#ff3300">{php} echo round(($vip_enddate-time())/86400);{/php}</font>天过期{else/}已过期{/if}{else/}未开通{/if}</i><span class="btn" onclick="javascript:window.location.href='/pay/index?type=365'">开通</span></a></li>
                            </ul>
        </div>

        <div class="app_accountBlock_lis2">
            <ul>
                <li class="ico7"><a href="/personal/signin">每日签到</a></li>
                <li class="ico3"><a href="/personal/bookcase">我的书架</a></li>
                <li class="ico5"><a href="/personal/paylog?status=1">充值记录</a></li>
                <li class="ico8"><a href="/personal/moneylog?type=1">消费记录</a></li>
                <li class="ico9"><a href="/personal/bindmobile">个人资料</a></li>
                <li class="ico6"><a href="/personal/question">常见问题</a></li>
                <li class="ico11"><a href="/personal/kefu">联系客服</a></li>
            </ul>
        </div>

		{if $is_wechat===false}
        <div class="app_changeUser">
            <button onclick="javascript:window.location.href='/logout'">退出登录</button>
        </div>
		{/if}

    </div>
		{block name="include"}{include file="public:footer" /}{/block}
        
    </div>
</div>



{/block}
{block name="script"}
{/block}


